package com.my.service;


import javax.servlet.http.HttpServletRequest;


public interface UserService {

    String loginByPassword(String username, String password);

    String loginByFace(String MD5);

    String loginByPhone(String phone, String code);

    String loginByEmail(String email, String code);

    String sendPhoneMessage(String phone);

    String sendEmailMessage(String email);

    String register(String username, String password, String face, String phone, String email);

    String getAuthor(HttpServletRequest req);

    String changePassword(String password, HttpServletRequest req);

}
